#version 330 core

in vec3 Normal;  
in vec3 FragPos;

uniform sampler2D texSampler;

out vec4 FragColor;  

void main()
{    
    if(Normal.y > 0 && Normal.z > 0)
        FragColor = vec4(0.0, 0.5, 0.5, 1.0);
    else if(Normal.x > 0)
        FragColor = vec4(1.0, 0.0, 0.0, 1.0);
    else if(Normal.y > 0)
        FragColor = vec4(0.0, 1.0, 0.0, 1.0);
    else if(Normal.z > 0)
        FragColor = vec4(0.0, 0.0, 1.0, 1.0);
}
